﻿namespace  Codeplex.KinkumaFramework.Interactivity
{
    using Microsoft.Practices.Prism.Interactivity.InteractionRequest;

    /// <summary>
    /// Windowを閉じます。閉じる際にDialogResultの設定を行います。
    /// </summary>
    public class DialogCloseNotification : Notification
    {
        public bool DialogResult { get; private set; }

        public DialogCloseNotification(bool dialogResult)
        {
            this.DialogResult = dialogResult;
        }
    }
}
